const marker = document.querySelector(".marker")
const card = document.querySelector(".card")

marker.addEventListener("click", ()=>{
    marker.classList.add("inactive")
    card.classList.add("active")
})

card.addEventListener("click", ()=>{
    marker.classList.remove("inactive")
    card.classList.remove("active")
})